<%--
  Created by IntelliJ IDEA.
  User: tz0643
  Date: 2016/9/5
  Time: 16:49
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
  <title>Title</title>
</head>
<body>
<div class="container">
  <h1>This is secured!</h1>
  <p>
    Hello ${pageContext.request.remoteUser}
  <form class="form-inline" action="/logout" method="post">
    <input type="submit" value="Log out" />
    <input type="hidden" name="${_csrf.parameterName}" value="${_csrf.token}"/>
  </form>
  </p>
</div>
</body>
</html>
